http-remote-hosts
This command configures the HTTP Remote Hosts table, which lets you define remote HTTP hosts per Remote Web Service. The table is a "child" of the Remote Web Services table.
Syntax
(config-system)# http-services (http-client-services)# http-remote-services <Index> (http-client-services-<Index>)# http-remote-hosts <Index> (http-remote-hosts-<Index>/<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
group-id <0-4> |
Defines the host's group ID. |
host-priority-in-group <0-9> |
Defines the priority level of the host within the assigned group. |
rest-address |
Defines the IP address or FQDN of the remote HTTP host. |
rest-interface |
Defines the IP network interface to use. |
rest-port |
Defines the port of the remote HTTP host. |
rest-name |
Configures an arbitrary name to identify the host. |
rest-transport-type {rest-http|rest-https} |
Defines the HTTP protocol. |
Command Mode
Privileged User
Example
This example configures an HTTP remote host "ARM" at 10.15.7.8:
(config-system)# http-services (http-client-services)# http-remote-services 0 (http-client-services-0)# http-remote-hosts 1 (http-remote-hosts-0/1)# rest-address 10.15.7.8 (http-remote-hosts-0/1)# rest-interface 0 (http-remote-hosts-0/1)# rest-servers ARM (http-remote-hosts-0/1)# rest-transport-type rest-http